package com.liujianlei.forum_system.service;

import com.liujianlei.forum_system.model.Article;

import java.util.List;

/**
 * @author tongchen
 * @create 2023-06-11 20:14
 */
public interface IArticleService {
    List<Article> selectAll();
    List<Article> selectByBoardId(Long id);
    List<Article> selectByUserId(Long id);
    void insertArticle(Article article);
    Article selectDetailById(Long id);
    void modify(String title,String content,Long id);
     void thumbsUpById(Long id);
     void deleteArticle(Long id);
}
